Character creation and seperate window file

seperation of the window from the main and initial creation of the
character sprite