added and tested methods to create data structure constant used by logic rather than hard-coding it. Now it's more modular and more lines can be added as needed provided it's a hub/spoke model
refactoring everything into files before presenting to the team and adding some UI for color lines
refactoring and UI edits