Initial version of parser