#103 added offline template and interceptor