Base implementation of mysql db

Probably switching to mysql2 gem