Cleaning up more code.  Loginscript database class has been improved to allow switching between databases.  Removed a lot of extra database code from login.  Need to debug videos being added to the database with //name instead of dates.
All directory path variables have been added to an install script.  The install script fetches all relevent direcotry paths and stores then in a config.ini file.  The login script has been updated to run from this new config file.

TODO:
Update the main functions file and the login functions file.  Thinking about merging into one.