Clean up template files. Convert index.js to coffeescript. Start to add scaffolding logic for spa.