Usability

* Code cleanup
* API documentation updates
* Clean up migration guide
* Add Template Expansion page to User Guide (fixes #17)