added scheduler event class and db manager