Completely reworked module

- Added mysql support
- Created type and provider for configs
- General cleanup and updating