Used appropriate Formatter Style constant.
Corrected brackets style
Added end line at the end of the files.
Removed extra endline
Moved Protocol Conformance to implementation.
Fixed memory leaks