refactored static_pages view
restored application layout