diff --git a/extensions/tasks/src/Tasks/Model/Task.php b/extensions/tasks/src/Tasks/Model/Task.php
new file mode 100644
index 00000000..e241fd90
--- /dev/null
+++ b/extensions/tasks/src/Tasks/Model/Task.php
@@ -0,0 +1,38 @@
+getCurrentUser();
-echo "Welcome ".$user->username;
+echo "Welcome ".$user->username."
";
+
+echo "Creating a task
";
+
+$task = new \Tasks\Model\Task();
+$taskName = 'Task-'.rand(rand(0, 100), 50000);
+
+$task->name = $taskName;
+$task->employee = $user->employee;
+$task->description = $taskName.' description';
+$task->created = date('Y-m-d H:i:s');
+$task->updated = date('Y-m-d H:i:s');
+
+/**
+ * Saving the task, $ok will be false if there were any error during the creation
+ */
+$ok = $task->Save();
+
+if (!$ok) {
+ echo "Error: ".$task->ErrorMsg()."
";
+}
+
+echo "Find last task
";
+
+$taskFromDB = new \Tasks\Model\Task();
+/**
+ * You can use load method to load the first matching task into an empty model
+ */
+$taskFromDB->Load('name = ?', [$taskName]);
+
+var_dump($taskFromDB);
\ No newline at end of file