Pro tip : Read up on code organization and separation of concerns. Good luck.