Coding standards

- Used hard tabs (4 chars) instead of spaces
- Removed unneeded whitespace
- Added missing docblock comments