Refactoring of code and beginning implementation of the file upload system.