Modified Slim constructor to initiate its router by calling the router() method