shellyfy master-branch

With these changes the master branch should be ready to be able to be deployed to shelly cloud while still be compatible with local MySQL boxes. :)