Couple of fixes, last. this is now stable main
-Added a parse function, with try except. if data is invalid 'not from kubios' except returns a error state -Merged states.py and main.py, to clear the global objects refrences.
-Added a parse function, with try except. if data is invalid 'not from kubios' except returns a error state -Merged states.py and main.py, to clear the global objects refrences.