refactored to move partials into public/app folders