Now reading the todos from the db. Added edit and add buttons.

Finally reading the todos from the db but the code's quality needs to
be better. Added edit (not working yet) and add (redirectirecting to
page with only one label) buttons in the navigation.