convert home view from slim to html and cleanup