nicer API by moving createServer method from Moonridge main file to the returene object of init call