added database scripts
added environment tool