tidying up code, organization into folder structure and begin use of code sniffer