container: implemented CommitContainer.

closes #1.