opencv and view

added some opencv stuff and nested layouts