Fixed compile errors in XCode6 Beta3+

Working on more models classes such as comments