This code is just my endeavors playing around with TinyWM that I didn't want to lose. Recommend checking out TinyWM for details.