add services cmd on running state, prepare the minimal db structure