requirement files and refactorization to support ajaxNavigation and history API