in case $app is set we could return here - the routes below (settings, core and ocs) are not needed in case we only want to load routes for an app