Refactoring, fixing, making prettier, and reformatting

Everything pretty much works well now, we just have to add Facebook functionality and mobile responsiveness for the charts