seperated out grammar object to it's own file