Big homepage refactor