support for debugging output and whatnot throughout the project
main method fleshed out and doc commentary added
moved command support to another file