refactor to remove large dependencies and make the basic mondemand-server more standalone