Added GPS class and Main class
Added nicer error message
Added database logging
Moved data struct to Sqlite class