Added database controller, version 0