fixed bugs in the state manager
fixed conflicts
added float, int and string parse functions.