Moved a bunch of stuff to HomeView.js