MSc Thesis: AlphaTrainer  an Android based neurofeedback system using low-cost consumer Brain-Computer Interface