Integrated Real-Time Control And Processing Systems For Multi-Channel Near-Infrared Spectroscopy Based Brain Computer Interfaces