Refactor and addition of MySQL implementation
Added MySQL capabilities
Refactored some structures