Added LevelFactory and setup level grids using 2d/3d arrays