Move xp_graph to partials/ and clean up some general stuff.