incapsulated the Table object properly
added two objects for creating the todo list
added todolist
dont try to load localstorage object if undefined