Added a level class. Not used or tested.

Added a level class that will work in theory.