initialise application and configure database settings