Added list view and map view. Added view switch.