re added gitignore
grouped line of code together into logical groups to increase readablility, added inputhandler classes