Removing some js libs and updating config. also renamed template dir