diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml
new file mode 100644
index 00000000000..32721655887
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/pom.xml
@@ -0,0 +1,82 @@
+
+
+
+ org.wso2.carbon.devicemgt
+ device-mgt
+ 1.1.0-SNAPSHOT
+ ../pom.xml
+
+
+ 4.0.0
+ org.wso2.carbon.device.mgt.analytics.dashboard
+ bundle
+ WSO2 Carbon - Device Management Dashboard Analytics
+ WSO2 Carbon - Device Management Dashboard Analytics
+ http://wso2.org
+
+
+
+ org.eclipse.osgi
+ org.eclipse.osgi.services
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+
+
+ org.wso2.carbon.devicemgt
+ org.wso2.carbon.device.mgt.common
+
+
+ org.wso2.carbon.devicemgt
+ org.wso2.carbon.device.mgt.core
+
+
+ org.wso2.carbon
+ org.wso2.carbon.ndatasource.core
+
+
+
+
+
+
+ org.apache.felix
+ maven-scr-plugin
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 1.4.0
+ true
+
+
+ ${project.artifactId}
+ ${project.artifactId}
+ ${carbon.device.mgt.version}
+ Device Management Dashboard Analytics Bundle
+
+ org.wso2.carbon.device.mgt.analytics.dashboard.dao,
+ org.wso2.carbon.device.mgt.analytics.dashboard.internal
+
+
+ org.wso2.carbon.device.mgt.analytics.dashboard
+
+
+ org.osgi.framework,
+ org.osgi.service.component,
+ org.apache.commons.logging.*,
+ javax.sql,
+ org.wso2.carbon.context,
+ org.wso2.carbon.device.mgt.common.*,
+ org.wso2.carbon.device.mgt.core.*,
+ org.wso2.carbon.ndatasource.core.*;
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/GadgetDataService.java b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/GadgetDataService.java
new file mode 100644
index 00000000000..88fc6826055
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/GadgetDataService.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * WSO2 Inc. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * you may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.device.mgt.analytics.dashboard;
+
+import java.util.Map;
+
+/**
+ * To be updated...
+ */
+public interface GadgetDataService {
+
+ @SuppressWarnings("unused")
+ int getTotalDeviceCount(Map filters);
+
+ @SuppressWarnings("unused")
+ int getActiveDeviceCount();
+
+ @SuppressWarnings("unused")
+ int getInactiveDeviceCount();
+
+ @SuppressWarnings("unused")
+ int getRemovedDeviceCount();
+
+ @SuppressWarnings("unused")
+ int getNonCompliantDeviceCount();
+
+ @SuppressWarnings("unused")
+ int getUnmonitoredDeviceCount();
+
+ @SuppressWarnings("unused")
+ Map getNonCompliantDeviceCountsByFeatures();
+
+ @SuppressWarnings("unused")
+ Map getDeviceCountsByPlatforms(Map filters);
+
+ @SuppressWarnings("unused")
+ Map getDeviceCountsByOwnershipTypes(Map filters);
+
+}
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/GadgetDataServiceDAO.java b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/GadgetDataServiceDAO.java
new file mode 100644
index 00000000000..adfb4359f68
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.analytics.dashboard/src/main/java/org/wso2/carbon/device/mgt/analytics/dashboard/dao/GadgetDataServiceDAO.java
@@ -0,0 +1,82 @@
+/*
+ * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * WSO2 Inc. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * you may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.device.mgt.analytics.dashboard.dao;
+
+import java.util.List;
+import java.util.Map;
+
+public interface GadgetDataServiceDAO {
+
+ /**
+ * Method to get total filtered device count from a particular tenant.
+ *
+ * @param filters List of filters to be applied in getting
+ * total filtered device count.
+ *
+ * @return Total filtered device count.
+ */
+ int getTotalDeviceCount(Map filters) throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ int getFeatureNonCompliantDeviceCount(Map filters) throws GadgetDataServiceDAOException;
+
+ int getActiveDeviceCount() throws GadgetDataServiceDAOException;
+
+ int getInactiveDeviceCount() throws GadgetDataServiceDAOException;
+
+ int getRemovedDeviceCount() throws GadgetDataServiceDAOException;
+
+ /**
+ * Method to get non-compliant device count.
+ *
+ * @return Non-compliant device count.
+ */
+ @SuppressWarnings("unused")
+ int getNonCompliantDeviceCount() throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ Map getNonCompliantDeviceCountsByFeatures() throws GadgetDataServiceDAOException;
+
+ /**
+ * Method to get unmonitored device count.
+ *
+ * @return Unmonitored device count.
+ */
+ @SuppressWarnings("unused")
+ int getUnmonitoredDeviceCount() throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ Map getDeviceCountsByPlatforms(Map filters) throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ Map getFeatureNonCompliantDeviceCountsByPlatforms(Map filters) throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ Map getDeviceCountsByOwnershipTypes(Map filters) throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ Map getFeatureNonCompliantDeviceCountsByOwnershipTypes(Map filters) throws GadgetDataServiceDAOException;
+
+ @SuppressWarnings("unused")
+ List