Basic stub for getting editor commands working.

- Added Code Contracts, not sure about those yet.