sqlite backend done, apart from schedule