Changed FormParser to a StateMachine implementation, JSON and File Parsers.