Updates to use zeptech/database for database interaction
Move database ID casting from transformer to persister