cleaned up application template with partials