refactor tasks collection filling into tasks collection class
refactor tasks collection
refactor tasks index
preload the tasks on first page load