Code - Added all basic db related functionality and scripts. Dbs have been created at this point.