replacing lodash.toArray with Array.prototype.slice.call
router can now work also with Controller URLs. functionality for Controller with constructor still works