configure database and add presenter provider in config