Initial commit. cache_script is unfinished, cache_service unpolished