Added service factory and updated README