Created character.cpp and deleted unnecessary files