Cleaned up code, wrote out parameter meanings for reference when writing command-line prompts, added a couple method implementations.