Creates DB and has some gui elements