added function to fetch tasks. removed sample code from main.js
Merge pull request #2 from Charles128/get_task_list

added function to fetch tasks. removed sample code from main.js