Refactoring

Refactored the comments code to render partials.