created map and room classes