modualize app; add `selectView`