Cleaned up algo for finding the $SERVICE_DIR, implemented proper $SERVICE_ROOT_DIR and $ALL_SERVICES vars.