Added basic functionality to AddView