fixing database module, auto starting database server, adding fields sample route, responding in json