changed the way of initializing rest controllers
handle custom filter names