Moved routesInDirectory() function to service provider
Merge pull request #52 from Ehesp/master

Moved routesInDirectory() function to service provider