Massive API overhaul

Updated the API object to use new CacheTimer object
Added new JUnit test for CacheTimer
Updated models so that auto_increment now works properly