apps directory move views and methods.js added.