add create directory support, backend part
add create directory support, ui part
insert the created directory to the front instead of the back
provide better information when error occurs
improve some lines' code quality
Merge pull request #333 from haiwen/create_directory

add create directory support