Add commands, configure database and add dependencies.