Began tinkering with separating code into files

not currently complete or functioning, probably going to need to
overwrite the files later since code will likely change before i am done
figuring this out.