Removed GameLogic class and replaced with Lines and Line classes to remove unecessary duplication