added initial basic ORM driver functionality for MySQL/Postgres