WIP Implementing parser (almost done)