Make own http server for megadevice
move database elements from Database to megadevicemodule.java