Converted double to single quotes in string and other style changes
Cleaned up syntax errors