Made extra progress in getting database working

Now it creats the database and launches add new task accordingly
instance variables are also changed to private for conventional methods