added bootstrap command and associated stuff for db connections