First stab at parser

Initial tests are going well