refactor conf structure and set remote db for development