diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Eventreceiver_gravaity_1.0.0/EventReceiver_gravity.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Eventreceiver_gravaity_1.0.0/EventReceiver_gravity.xml
new file mode 100644
index 00000000..86efcbfb
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Eventreceiver_gravaity_1.0.0/EventReceiver_gravity.xml
@@ -0,0 +1,8 @@
+
+
+
+ false
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Eventreceiver_gravaity_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Eventreceiver_gravaity_1.0.0/artifact.xml
new file mode 100644
index 00000000..e150a5c6
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Eventreceiver_gravaity_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ EventReceiver_gravity.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Eventstore_gravity_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstore_gravity_1.0.0/artifact.xml
new file mode 100644
index 00000000..d54e89a9
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstore_gravity_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ org_wso2_iot_devices_gravity.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Eventstore_gravity_1.0.0/org_wso2_iot_devices_gravity.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstore_gravity_1.0.0/org_wso2_iot_devices_gravity.xml
new file mode 100644
index 00000000..3a575434
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstore_gravity_1.0.0/org_wso2_iot_devices_gravity.xml
@@ -0,0 +1,44 @@
+
+
+
+ EVENT_STORE
+
+
+ meta_owner
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceType
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceId
+ true
+ true
+ false
+ STRING
+
+
+ meta_time
+ true
+ true
+ false
+ LONG
+
+
+ gravity
+ false
+ false
+ false
+ FLOAT
+
+
+
\ No newline at end of file
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Eventstream_gravity_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstream_gravity_1.0.0/artifact.xml
new file mode 100644
index 00000000..2953fd5b
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstream_gravity_1.0.0/artifact.xml
@@ -0,0 +1,5 @@
+
+
+ org.wso2.iot.devices.gravity_1.0.0.json
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Eventstream_gravity_1.0.0/org.wso2.iot.devices.gravity_1.0.0.json b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstream_gravity_1.0.0/org.wso2.iot.devices.gravity_1.0.0.json
new file mode 100644
index 00000000..f18bd87b
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Eventstream_gravity_1.0.0/org.wso2.iot.devices.gravity_1.0.0.json
@@ -0,0 +1,20 @@
+{
+ "name": "org.wso2.iot.devices.gravity",
+ "version": "1.0.0",
+ "nickName": "Gravity Data",
+ "description": "Gravity data received from the Device",
+ "metaData": [
+ {"name":"owner","type":"STRING"},
+ {"name":"deviceType","type":"STRING"},
+ {"name":"deviceId","type":"STRING"},
+ {"name":"time","type":"LONG"}
+ ],
+ "payloadData": [
+ {
+ "name": "gravity","type": "FLOAT"
+ }
+ ]
+}
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Sparkscripts_1.0.0/Gravity_Sensor_Script.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Sparkscripts_1.0.0/Gravity_Sensor_Script.xml
new file mode 100644
index 00000000..34bcb8d0
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Sparkscripts_1.0.0/Gravity_Sensor_Script.xml
@@ -0,0 +1,13 @@
+
+
+ IoTServer_Sensor_Script
+
+ 0 * * * * ?
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/Sparkscripts_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gravity/Sparkscripts_1.0.0/artifact.xml
new file mode 100644
index 00000000..0d5f122e
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/Sparkscripts_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ Gravity_Sensor_Script.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gravity/artifacts.xml b/modules/distribution/src/statistics/carbonapps/Gravity/artifacts.xml
new file mode 100644
index 00000000..1a9e815e
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gravity/artifacts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventreceiver_gyroscope_1.0.0/EventReceiver_gyroscope.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventreceiver_gyroscope_1.0.0/EventReceiver_gyroscope.xml
new file mode 100644
index 00000000..f5aa74ea
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventreceiver_gyroscope_1.0.0/EventReceiver_gyroscope.xml
@@ -0,0 +1,8 @@
+
+
+
+ false
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventreceiver_gyroscope_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventreceiver_gyroscope_1.0.0/artifact.xml
new file mode 100644
index 00000000..4d4a7b91
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventreceiver_gyroscope_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ EventReceiver_gyroscope.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstore_gyroscope_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstore_gyroscope_1.0.0/artifact.xml
new file mode 100644
index 00000000..73fbde21
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstore_gyroscope_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ org_wso2_iot_devices_gyroscope.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstore_gyroscope_1.0.0/org_wso2_iot_devices_gyroscope.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstore_gyroscope_1.0.0/org_wso2_iot_devices_gyroscope.xml
new file mode 100644
index 00000000..603711c1
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstore_gyroscope_1.0.0/org_wso2_iot_devices_gyroscope.xml
@@ -0,0 +1,44 @@
+
+
+
+ EVENT_STORE
+
+
+ meta_owner
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceType
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceId
+ true
+ true
+ false
+ STRING
+
+
+ meta_time
+ true
+ true
+ false
+ LONG
+
+
+ gyroscope
+ false
+ false
+ false
+ FLOAT
+
+
+
\ No newline at end of file
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstream_gyroscope_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstream_gyroscope_1.0.0/artifact.xml
new file mode 100644
index 00000000..e09e166e
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstream_gyroscope_1.0.0/artifact.xml
@@ -0,0 +1,5 @@
+
+
+ org.wso2.iot.devices.gyroscope_1.0.0.json
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstream_gyroscope_1.0.0/org.wso2.iot.devices.gyroscope_1.0.0.json b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstream_gyroscope_1.0.0/org.wso2.iot.devices.gyroscope_1.0.0.json
new file mode 100644
index 00000000..0583da29
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Eventstream_gyroscope_1.0.0/org.wso2.iot.devices.gyroscope_1.0.0.json
@@ -0,0 +1,20 @@
+{
+ "name": "org.wso2.iot.devices.gyroscope",
+ "version": "1.0.0",
+ "nickName": "Gyroscope Data",
+ "description": "Gyroscope data received from the Device",
+ "metaData": [
+ {"name":"owner","type":"STRING"},
+ {"name":"deviceType","type":"STRING"},
+ {"name":"deviceId","type":"STRING"},
+ {"name":"time","type":"LONG"}
+ ],
+ "payloadData": [
+ {
+ "name": "gyroscope","type": "FLOAT"
+ }
+ ]
+}
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Sparkscripts_1.0.0/Gyroscope_Sensor_Script.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Sparkscripts_1.0.0/Gyroscope_Sensor_Script.xml
new file mode 100644
index 00000000..f26032cf
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Sparkscripts_1.0.0/Gyroscope_Sensor_Script.xml
@@ -0,0 +1,13 @@
+
+
+ IoTServer_Sensor_Script
+
+ 0 * * * * ?
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/Sparkscripts_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/Sparkscripts_1.0.0/artifact.xml
new file mode 100644
index 00000000..3fcf3d50
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/Sparkscripts_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ Gyroscope_Sensor_Script.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Gyroscope/artifacts.xml b/modules/distribution/src/statistics/carbonapps/Gyroscope/artifacts.xml
new file mode 100644
index 00000000..6a3ea818
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Gyroscope/artifacts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Eventreceiver_pressure_1.0.0/EventReceiver_pressure.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Eventreceiver_pressure_1.0.0/EventReceiver_pressure.xml
new file mode 100644
index 00000000..76ac8619
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Eventreceiver_pressure_1.0.0/EventReceiver_pressure.xml
@@ -0,0 +1,8 @@
+
+
+
+ false
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Eventreceiver_pressure_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Eventreceiver_pressure_1.0.0/artifact.xml
new file mode 100644
index 00000000..c611037c
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Eventreceiver_pressure_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ EventReceiver_pressure.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Eventstore_pressure_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstore_pressure_1.0.0/artifact.xml
new file mode 100644
index 00000000..dfae64f1
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstore_pressure_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ org_wso2_iot_devices_pressure.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Eventstore_pressure_1.0.0/org_wso2_iot_devices_pressure.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstore_pressure_1.0.0/org_wso2_iot_devices_pressure.xml
new file mode 100644
index 00000000..2533da29
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstore_pressure_1.0.0/org_wso2_iot_devices_pressure.xml
@@ -0,0 +1,44 @@
+
+
+
+ EVENT_STORE
+
+
+ meta_owner
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceType
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceId
+ true
+ true
+ false
+ STRING
+
+
+ meta_time
+ true
+ true
+ false
+ LONG
+
+
+ pressure
+ false
+ false
+ false
+ FLOAT
+
+
+
\ No newline at end of file
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Eventstream_pressure_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstream_pressure_1.0.0/artifact.xml
new file mode 100644
index 00000000..2a2f8868
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstream_pressure_1.0.0/artifact.xml
@@ -0,0 +1,5 @@
+
+
+ org.wso2.iot.devices.pressure_1.0.0.json
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Eventstream_pressure_1.0.0/org.wso2.iot.devices.pressure_1.0.0.json b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstream_pressure_1.0.0/org.wso2.iot.devices.pressure_1.0.0.json
new file mode 100644
index 00000000..f58059d2
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Eventstream_pressure_1.0.0/org.wso2.iot.devices.pressure_1.0.0.json
@@ -0,0 +1,20 @@
+{
+ "name": "org.wso2.iot.devices.pressure",
+ "version": "1.0.0",
+ "nickName": "Pressure Data",
+ "description": "Pressure data received from the Device",
+ "metaData": [
+ {"name":"owner","type":"STRING"},
+ {"name":"deviceType","type":"STRING"},
+ {"name":"deviceId","type":"STRING"},
+ {"name":"time","type":"LONG"}
+ ],
+ "payloadData": [
+ {
+ "name": "pressure","type": "FLOAT"
+ }
+ ]
+}
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Sparkscripts_1.0.0/Pressure_Sensor_Script.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Sparkscripts_1.0.0/Pressure_Sensor_Script.xml
new file mode 100644
index 00000000..d6c0e353
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Sparkscripts_1.0.0/Pressure_Sensor_Script.xml
@@ -0,0 +1,13 @@
+
+
+ IoTServer_Sensor_Script
+
+ 0 * * * * ?
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/Sparkscripts_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Pressure/Sparkscripts_1.0.0/artifact.xml
new file mode 100644
index 00000000..046bc619
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/Sparkscripts_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ Pressure_Sensor_Script.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Pressure/artifacts.xml b/modules/distribution/src/statistics/carbonapps/Pressure/artifacts.xml
new file mode 100644
index 00000000..249b33da
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Pressure/artifacts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Eventreceiver_proximity_1.0.0/EventReceiver_proximity.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Eventreceiver_proximity_1.0.0/EventReceiver_proximity.xml
new file mode 100644
index 00000000..d57d2e0a
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Eventreceiver_proximity_1.0.0/EventReceiver_proximity.xml
@@ -0,0 +1,8 @@
+
+
+
+ false
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Eventreceiver_proximity_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Eventreceiver_proximity_1.0.0/artifact.xml
new file mode 100644
index 00000000..1e3fbccb
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Eventreceiver_proximity_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ EventReceiver_proximity.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Eventstore_proximity_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstore_proximity_1.0.0/artifact.xml
new file mode 100644
index 00000000..bdcffa5b
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstore_proximity_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ org_wso2_iot_devices_proximity.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Eventstore_proximity_1.0.0/org_wso2_iot_devices_proximity.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstore_proximity_1.0.0/org_wso2_iot_devices_proximity.xml
new file mode 100644
index 00000000..f0958f01
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstore_proximity_1.0.0/org_wso2_iot_devices_proximity.xml
@@ -0,0 +1,44 @@
+
+
+
+ EVENT_STORE
+
+
+ meta_owner
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceType
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceId
+ true
+ true
+ false
+ STRING
+
+
+ meta_time
+ true
+ true
+ false
+ LONG
+
+
+ proximity
+ false
+ false
+ false
+ FLOAT
+
+
+
\ No newline at end of file
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Eventstream_proximity_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstream_proximity_1.0.0/artifact.xml
new file mode 100644
index 00000000..bec60673
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstream_proximity_1.0.0/artifact.xml
@@ -0,0 +1,5 @@
+
+
+ org.wso2.iot.devices.proximity_1.0.0.json
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Eventstream_proximity_1.0.0/org.wso2.iot.devices.proximity_1.0.0.json b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstream_proximity_1.0.0/org.wso2.iot.devices.proximity_1.0.0.json
new file mode 100644
index 00000000..88fb9008
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Eventstream_proximity_1.0.0/org.wso2.iot.devices.proximity_1.0.0.json
@@ -0,0 +1,20 @@
+{
+ "name": "org.wso2.iot.devices.proximity",
+ "version": "1.0.0",
+ "nickName": "Proximity Data",
+ "description": "Proximity data received from the Device",
+ "metaData": [
+ {"name":"owner","type":"STRING"},
+ {"name":"deviceType","type":"STRING"},
+ {"name":"deviceId","type":"STRING"},
+ {"name":"time","type":"LONG"}
+ ],
+ "payloadData": [
+ {
+ "name": "proximity","type": "FLOAT"
+ }
+ ]
+}
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Sparkscripts_1.0.0/Proximity_Sensor_Script.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Sparkscripts_1.0.0/Proximity_Sensor_Script.xml
new file mode 100644
index 00000000..889cfca6
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Sparkscripts_1.0.0/Proximity_Sensor_Script.xml
@@ -0,0 +1,13 @@
+
+
+ IoTServer_Sensor_Script
+
+ 0 * * * * ?
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/Sparkscripts_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Proximity/Sparkscripts_1.0.0/artifact.xml
new file mode 100644
index 00000000..c3bc1d61
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/Sparkscripts_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ Proximity_Sensor_Script.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Proximity/artifacts.xml b/modules/distribution/src/statistics/carbonapps/Proximity/artifacts.xml
new file mode 100644
index 00000000..d682d5b6
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Proximity/artifacts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Eventreceiver_rotation_1.0.0/EventReceiver_rotation.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Eventreceiver_rotation_1.0.0/EventReceiver_rotation.xml
new file mode 100644
index 00000000..df0dfb57
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Eventreceiver_rotation_1.0.0/EventReceiver_rotation.xml
@@ -0,0 +1,8 @@
+
+
+
+ false
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Eventreceiver_rotation_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Eventreceiver_rotation_1.0.0/artifact.xml
new file mode 100644
index 00000000..3395400e
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Eventreceiver_rotation_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ EventReceiver_rotation.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Eventstore_rotation_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstore_rotation_1.0.0/artifact.xml
new file mode 100644
index 00000000..6a75eba8
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstore_rotation_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ org_wso2_iot_devices_rotation.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Eventstore_rotation_1.0.0/org_wso2_iot_devices_rotation.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstore_rotation_1.0.0/org_wso2_iot_devices_rotation.xml
new file mode 100644
index 00000000..8e6863f5
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstore_rotation_1.0.0/org_wso2_iot_devices_rotation.xml
@@ -0,0 +1,44 @@
+
+
+
+ EVENT_STORE
+
+
+ meta_owner
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceType
+ true
+ true
+ false
+ STRING
+
+
+ meta_deviceId
+ true
+ true
+ false
+ STRING
+
+
+ meta_time
+ true
+ true
+ false
+ LONG
+
+
+ rotation
+ false
+ false
+ false
+ FLOAT
+
+
+
\ No newline at end of file
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Eventstream_rotation_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstream_rotation_1.0.0/artifact.xml
new file mode 100644
index 00000000..21982655
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstream_rotation_1.0.0/artifact.xml
@@ -0,0 +1,5 @@
+
+
+ org.wso2.iot.devices.rotation_1.0.0.json
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Eventstream_rotation_1.0.0/org.wso2.iot.devices.rotation_1.0.0.json b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstream_rotation_1.0.0/org.wso2.iot.devices.rotation_1.0.0.json
new file mode 100644
index 00000000..03881bcf
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Eventstream_rotation_1.0.0/org.wso2.iot.devices.rotation_1.0.0.json
@@ -0,0 +1,20 @@
+{
+ "name": "org.wso2.iot.devices.rotation",
+ "version": "1.0.0",
+ "nickName": "Rotation Data",
+ "description": "Rotation data received from the Device",
+ "metaData": [
+ {"name":"owner","type":"STRING"},
+ {"name":"deviceType","type":"STRING"},
+ {"name":"deviceId","type":"STRING"},
+ {"name":"time","type":"LONG"}
+ ],
+ "payloadData": [
+ {
+ "name": "rotation","type": "FLOAT"
+ }
+ ]
+}
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Sparkscripts_1.0.0/Rotation_Sensor_Script.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Sparkscripts_1.0.0/Rotation_Sensor_Script.xml
new file mode 100644
index 00000000..ed2730eb
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Sparkscripts_1.0.0/Rotation_Sensor_Script.xml
@@ -0,0 +1,13 @@
+
+
+ IoTServer_Sensor_Script
+
+ 0 * * * * ?
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/Sparkscripts_1.0.0/artifact.xml b/modules/distribution/src/statistics/carbonapps/Rotation/Sparkscripts_1.0.0/artifact.xml
new file mode 100644
index 00000000..59ec9383
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/Sparkscripts_1.0.0/artifact.xml
@@ -0,0 +1,4 @@
+
+
+ Rotation_Sensor_Script.xml
+
diff --git a/modules/distribution/src/statistics/carbonapps/Rotation/artifacts.xml b/modules/distribution/src/statistics/carbonapps/Rotation/artifacts.xml
new file mode 100644
index 00000000..4a2b6e95
--- /dev/null
+++ b/modules/distribution/src/statistics/carbonapps/Rotation/artifacts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/distribution/src/statistics/carbonapps/build.xml b/modules/distribution/src/statistics/carbonapps/build.xml
index 129ecab7..b3d87e62 100644
--- a/modules/distribution/src/statistics/carbonapps/build.xml
+++ b/modules/distribution/src/statistics/carbonapps/build.xml
@@ -10,6 +10,11 @@
+
+
+
+
+
@@ -33,5 +38,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+