Clean up code formatting
Add CCD document locking
CCD document locking and unlocking working
Minor format changes
Increment version