Got contraction working.

There is now a bung in contraction that I've uncovered and need to
resolve. Yay!
Updated contraction gem

The API building stuff is now working for the simple cases!