fix the parser. and by fix i mean limit the scope of because fuckit
add unittests with nose and connect to travis