Refactored all HTML to utilize ractive
Merged with Rug's changes.
Completed merge with rug's changes.