Sqlite backend working completely

Some bugfixes added

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>