cleanup
added application.js
fix the footer issue
fix url inheritance, other small bits