moved RServe logic into a separate Node Module