refactored PrototypeMapFactory
refactored PrototypeMapFactory
added seperate package for factories