Could you review code (controller and tasks) especially ORM use as I am not an expert. If something can be written better... Thanks !