fix some bugs
add tasks management module