add create_view

valgrind log after CCrossValidation changes : https://gist.github.com/Saurabh7/8419217