Add database middleware (mongodb and redis)
Implement creating and listing tasks