added footer, refactored with partials