Updated stored procedures and code that uses them.  Fixed truncation bug from long to int when storing time.  Added caching even when we have a time cached.  Added mysql scripts.