Levels class implemented