added regionmap model class and factory class