modified the entire project structure and added quit game functionality