Cleaned up the grammar and added the actions.

The grammar still only contains the entity definition rule. Can't actually do anything to anything yet.