Create views.js

Added views.js file