added doc controller with documentation
fixed doc view