Added methods for loading routes and init files from the apps directories