created controller with corresponding views