Data is now being rendered on the front end view.

Although data is now being rendered, the formatting is broken, and the
tabs do not seem to be appearing.

Also a lot of reformatting of code in this commit.