create cmdb module,and finish template part