Added a clock and moved dynamic graphing stuff to seperate php files so that the clock api does
not reload on graphing updates.