Added an  method for adding any view to any other parent view with attributes. Closes issue #18.