Clean up imports, create new parser class based on a given grammar