add a generic parser to factor out code
Merge branch 'master' of https://github.com/remusao/Hodor