added gen_server for parser