removed main.hs
improve parser construction api