finish events model and controller and basic view