Implement parser boilerplate

Implement a first test case, needed exceptions and start the BasicParser
class.