BUGS: - messageAvailable checks and status checks NOT working (long operations) - On date change, response is overwritten by previous query, trimming needed according to numBytes TODO: - A4 command - Sale class - Sale parser - A2 command - Implement sensor status logging and sending to remote server - Lewis infrastructure for data viewing (SQL, Webpage, CSV parser) - Incident class - Incident parser - A3 command - Batch command files, definition, parsing and pushing them to the app - Implement user auth. Server authenticates the app ONCE on install and allows to control ONE machine (key gets validated on server and then stored on app) - Implement master key. CHECK: - Layouts on another iPhone