add usage.pl

read usage from db and write out to csv where it can easily be graphed