re-factor webservices to use blueprints