Console command to reload cache, documentation for apier on cache and scheduler, various small fixes