Code is reformatted

I reformat code to make it easier to work with. 

* Tabs formatted to the spaces
* Dont put ?> at the end of PHP