Changed how functions are created
Added some function descriptions
Changed how the level function works