Bunch of changes

- Added database
- Added a data route handler to handle json requests
- Added to code to update table with tasks data using AJAX
- few more minor changes