added some functionality in character
Removed unused code in level