created a hallway class model