add view component
update build– and testfiles