added method of configuring database through the command line