WIP Add AssignmentParserImpl template class

TODO: split addition of AssignmentParser from this commit