appp: fixed loop root path bug
thing: fixed the save method and added unittest
added categroy api