Refactored a lot of home.cs