Documented code. Added action for favoriting, views still need to be modified.