Tested the app on my Raspberry Pie and fixed a few bugs