Added a parser that can work with existing database. Fixed eventual bug in the selection for mutation.