Feature/strategy

Hi Max,

This is the PR for the strategy we talked about a while back. You made it easy for me due to the restructure of the file :tongue:

I also included a test.html file with some scenarios for testing the functionality. Perhaps you or one of the other collaborators can add some other examples :wink:

Nice weekend!