Moved character switch logic to separate object
required character file