Fixed a few bugs, there is still work to do, Android and Arduino apps do not work