configure database and themes