Finished structure down to snapshots; corrected bugs; implementing output operator