Rewrote the Mysql Storage Adapter