refactoring, input and output parsers, request_globas and session_globals in service class, request_kwargs and session_kwargs in service class, now parsers are functions