Refactoring and renaming making the snake easier to work with