Added some mapper behavior

Added some behabior to AbstractMapper, this class needs to be reshape
maybe, probably to be used as static class or maybe not.
Also created test hierarchy.
Added equals implementation