Beautify and Center

Modified the code by beautifying it to make it easier to read and then
properly centering the content using css.