now loads database from tomcat config and creates all the dbs