Updated the module

Updated the module with some of the basic required like the sql table and functions for mainfile.php.  Also, the needed upload class is in there.