rest configurator

Adding generator for endpoints