Massive code cleanup, Google Charts API added.