UAVAPI stores information in the database every second. Socket and Swift state are send to the API as well now. Fixes and improvements to some other stuff