Update home.php

Cleaned up some code and added a homepage system.
Merge pull request #3 from Shukketsu1337/patch-2

Update home.php