Update docs
Move parser to lib