properly referenced corejs, moved functions from router index back into appjs. App seems to add and remove todos on page refresh but not as single page application