Refactor

Homepage loads, at least partially now.