updated homepage frontend, refactored templates, and implemented config