Index: src/gnuboat/common/datahandler/rrdhandler.py
===================================================================
--- src/gnuboat/common/datahandler/rrdhandler.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
+++ src/gnuboat/common/datahandler/rrdhandler.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
@@ -0,0 +1,74 @@
+# -*- coding: utf-8 -*-
+'''
+    Copyright (C) 2016 - 2020 EngSaS - Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+'''
+
+import rrdtool
+import os
+import traceback
+
+import gnuboat.common.datahandler.rrdschema as rrdschema
+
+
+def rrd_create_database(database_file, logperiod, start_time='N'):
+    rrd_data_sources = [
+        'DS:latitude:GAUGE:15:-90:90', 'DS:longitude:GAUGE:15:-180:180',
+        'DS:speedthroughwater:GAUGE:15:U:U', 'DS:speedoverground:GAUGE:15:U:U',
+        'DS:courseoverground:GAUGE:15:U:U', 'DS:waterdepth:GAUGE:15:0:10000',
+        'DS:watertemperature:GAUGE:15:-10:50', 'DS:gpsfix:GAUGE:15:-999:3'
+    ]
+
+    step = logperiod
+    # durations: each archive should contain values for in seconds
+    archives = rrdschema.archives
+    rrd_archives = []
+    for i in range(0, len(archives)):
+        rrd_archives += [
+            'RRA:AVERAGE:0.5:{:d}:{:d}'.format(
+                _steps(archives[i].resolution, step),
+                _rows(
+                    archives[i].duration, archives[i].resolution, step
+                )
+            )
+        ]
+
+    if not os.path.isfile(database_file):
+        rrdtool.create(
+            database_file, "--start", start_time, "--step", str(step),
+            rrd_data_sources, rrd_archives
+        )
+
+
+def rrd_update(rrdfile, value_string):
+    try:
+        rrdtool.update(rrdfile, value_string)
+    except:
+        print(
+            'Failed to update rrd database {} with values\n  {}'.format(
+                rrdfile, value_string
+            )
+        )
+        print(traceback.format_exc())
+
+
+def _rows(duration, resolution, step):
+    return int(
+        round(float(duration) / _steps(resolution, float(step)) / float(step))
+    )
+
+
+def _steps(resolution, step):
+    return int(round(float(resolution) / float(step)))
Index: src/gnuboat/common/datahandler/rrdschema.py
===================================================================
--- src/gnuboat/common/datahandler/rrdschema.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
+++ src/gnuboat/common/datahandler/rrdschema.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
@@ -0,0 +1,43 @@
+'''
+    Copyright (C) 2017 - 2020 EngSaS - Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+'''
+
+try:
+    from dataclasses import dataclass
+
+    @dataclass
+    class RrdArchive:
+        """
+            Describes an RRD Archive.
+            Durations and resolution are in seconds
+        """
+        duration: int
+        resolution: int
+except:
+    class RrdArchive:
+        """
+            Describes an RRD Archive.
+            Durations and resolution are in seconds
+        """
+        def __init__(self, duration, resolution):
+            self.duration = duration
+            self.resolution = resolution
+
+archives = [
+    RrdArchive(240, 2),
+    RrdArchive(3600, 10),
+    RrdArchive(86400, 60),
+]
Index: src/gnuboat/common/device/rrdhandler.py
===================================================================
--- src/gnuboat/common/device/rrdhandler.py	(revision d74f4856465e79eff54cdaf23d67cc9c82db4844)
+++ 	(revision )
@@ -1,74 +1,0 @@
-# -*- coding: utf-8 -*-
-'''
-    Copyright (C) 2016 - 2020 EngSaS - Langenbach. All rights reserved.
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-'''
-
-import rrdtool
-import os
-import traceback
-
-import gnuboat.common.device.rrdschema as rrdschema
-
-
-def rrd_create_database(database_file, logperiod, start_time='N'):
-    rrd_data_sources = [
-        'DS:latitude:GAUGE:15:-90:90', 'DS:longitude:GAUGE:15:-180:180',
-        'DS:speedthroughwater:GAUGE:15:U:U', 'DS:speedoverground:GAUGE:15:U:U',
-        'DS:courseoverground:GAUGE:15:U:U', 'DS:waterdepth:GAUGE:15:0:10000',
-        'DS:watertemperature:GAUGE:15:-10:50', 'DS:gpsfix:GAUGE:15:-999:3'
-    ]
-
-    step = logperiod
-    # durations: each archive should contain values for in seconds
-    archives = rrdschema.archives
-    rrd_archives = []
-    for i in range(0, len(archives)):
-        rrd_archives += [
-            'RRA:AVERAGE:0.5:{:d}:{:d}'.format(
-                _steps(archives[i].resolution, step),
-                _rows(
-                    archives[i].duration, archives[i].resolution, step
-                )
-            )
-        ]
-
-    if not os.path.isfile(database_file):
-        rrdtool.create(
-            database_file, "--start", start_time, "--step", str(step),
-            rrd_data_sources, rrd_archives
-        )
-
-
-def rrd_update(rrdfile, value_string):
-    try:
-        rrdtool.update(rrdfile, value_string)
-    except:
-        print(
-            'Failed to update rrd database {} with values\n  {}'.format(
-                rrdfile, value_string
-            )
-        )
-        print(traceback.format_exc())
-
-
-def _rows(duration, resolution, step):
-    return int(
-        round(float(duration) / _steps(resolution, float(step)) / float(step))
-    )
-
-
-def _steps(resolution, step):
-    return int(round(float(resolution) / float(step)))
Index: src/gnuboat/common/device/rrdschema.py
===================================================================
--- src/gnuboat/common/device/rrdschema.py	(revision d74f4856465e79eff54cdaf23d67cc9c82db4844)
+++ 	(revision )
@@ -1,43 +1,0 @@
-'''
-    Copyright (C) 2017 - 2020 EngSaS - Langenbach. All rights reserved.
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-'''
-
-try:
-    from dataclasses import dataclass
-
-    @dataclass
-    class RrdArchive:
-        """
-            Describes an RRD Archive.
-            Durations and resolution are in seconds
-        """
-        duration: int
-        resolution: int
-except:
-    class RrdArchive:
-        """
-            Describes an RRD Archive.
-            Durations and resolution are in seconds
-        """
-        def __init__(self, duration, resolution):
-            self.duration = duration
-            self.resolution = resolution
-
-archives = [
-    RrdArchive(240, 2),
-    RrdArchive(3600, 10),
-    RrdArchive(86400, 60),
-]
Index: src/gnuboat/deviceservice_impl/controllers/DeviceController.py
===================================================================
--- src/gnuboat/deviceservice_impl/controllers/DeviceController.py	(revision d74f4856465e79eff54cdaf23d67cc9c82db4844)
+++ src/gnuboat/deviceservice_impl/controllers/DeviceController.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
@@ -22,5 +22,5 @@
 import datetime
 
-import gnuboat.common.device.rrdschema as rrdschema
+import gnuboat.common.datahandler.rrdschema as rrdschema
 from gnuboat.common.webservice.HttpErrors import (
     GnuboatNotFound, GnuboatInternalServerError
Index: src/gnuboat/deviceservice_impl/demo/DemoRrd.py
===================================================================
--- src/gnuboat/deviceservice_impl/demo/DemoRrd.py	(revision d74f4856465e79eff54cdaf23d67cc9c82db4844)
+++ src/gnuboat/deviceservice_impl/demo/DemoRrd.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
@@ -23,5 +23,5 @@
 import rrdtool
 
-import gnuboat.common.device.rrdhandler as rrdhandler
+import gnuboat.common.datahandler.rrdhandler as rrdhandler
 
 logperiod = 2
Index: src/gnuboat/deviceservice_impl/tests/__init__.py
===================================================================
--- src/gnuboat/deviceservice_impl/tests/__init__.py	(revision d74f4856465e79eff54cdaf23d67cc9c82db4844)
+++ src/gnuboat/deviceservice_impl/tests/__init__.py	(revision 812f6876354fec1cdf37f164910192822e70bb2b)
@@ -32,7 +32,7 @@
 import socket
 
-from gnuboat.common.device import rrdhandler as rrdhandler
-import gnuboat.common.datahandler.loghandler as loghandler
-import gnuboat.common.datahandler.logdataset as logdataset
+from gnuboat.common.datahandler import (
+    rrdhandler, loghandler, logdataset,
+)
 
 from gnuboat.deviceservice_impl.controllers.DeviceMapsController import (
