Closes #4. Implement foundation.

Closes #1. Add CoffeeScript support.