Refactored SQL and everything that touches SQL. Also enabled deployment to Test servers. Also removed config files from source control.

This is a massive refactoring that should set us up well for project week.