Implemented session management
Added Json parser and generator