Colorado writing the book on regulating medical marijuana