update js libs and moving views + public to apps dir