Removed prepare function, added dbType to config file.