Added tasks database support