Add register view, layout and two view models.