Cleanup and Formatting fixes

• Removing out old comments like "// new"
• Creating a consistent format for spacing and indentation
• Started cleaning phpdoc params
• Cleaned up and made a consistent style for bracket and operator spacing