added moment dependency and configured server