Add emoncms3 support via sql database access