Fixing bug 1648 and 4914

fixing EJB annotation (stateless to stateful)
simplifying management of folders (create, update and delete), using dialog
removing useless code and JSP files