Co-Authored-By: Richard Marshall <29306641+Purdze@users.noreply.github.com>
still needs a bit more work, also changed the license,
also fixed some bugs