Compile a kohana into an extension