The mod is open source and can be found on Github: https://github.com/BluSunrize/WitchingGadgets/
Feel free to look at my code, and even take parts of it, but please follow Wheaton's Law and "Don't be a douche". If you use my code, be so kind and tell people where you got it.