Wrote lots of unit tests for the parser
Updated the readme and streamlined the public interface a bit