added view partials
updated to use compression