General insert method added.
Merge branch 'finish_abstract_mapper' with finished AbstractMapper