create Class from View