separated parsing logic into separate module and removed frontend parsing of client responses