Initial, old code

This is more or less the code I've been referring to as KurwaBot