Fixing syntax.
Cleanup, documentation
Remove closing PHP tag.
Code cleanup