Moved instantiation of the level object