Added basic contract comparison. Fixes #34
Merge