Added ability to configure database engine