Added a method called SetDBMultiEnvironment that will setup DB based on the hostname of the server who executed the script, this will solve the problem regarding the need to setup multiple DB Environments.

Added the test.php script that might be used to run lightweight tests without messing with index.php