refactor and add wiki view and top