Reorganized db class loading, improvements to settings class.
Added settings class, abstracted path, abstracted adding rows to db add table in add_db.php