Added handling restful controllers to request mapper