Initial commit (code and stuff). Based on CW22