Added support for stackpanel, also added a base ViewContainer adapter class