Swapped around the include statement to for DB_API.
DB logic isolating. And modify event function scaffolded.