Implement home view and result view.