Working DB initialisation and server