Made first iteration of parser