Added patterns doc so I remember some of the conventions I'm using