Added side class.
Added level class.
Improved submit function.