Setup the app to have favourites implemented. Fixed some warnings and a couple other small issues.