Improvements on addFolder command, debugging first rest controller