Implement Styling, Run CodeSniffer

Styled a few elements and cleaned up code a bit.