moved the processing and drawing steps to seperate files