Various tweaks
Fixed issue where more work could give you random code from other classes. Added migration to git.