setting up table view and task models