I'm not sure what is the detail, so I'll start from some neccessary points, like tasks and users and some database part