Cleanup comments and var names
Remove PHP4 syntax

Remove ampersand: &$this vs $this
Move custom post types array to new file
Remove helper class

Functions won't be used outside this plugin anyway.