Amend spacing and code conventions.

4 spaces tabs and following Zend standards.