Ethan: Modified to work with class database (should still work with local). Startup time is now used.