basic parser

a LOT of bugs