Mostly working logic in the app controller. Added function for value of the week.