Implement parser, add formatter stubs