update gitignore to ignore static folder

Signed-off-by: fraserxu <xvfeng123@gmail.com>
add task.js and dependencies

Signed-off-by: fraserxu <xvfeng123@gmail.com>
refactor structure with task.js

Signed-off-by: fraserxu <xvfeng123@gmail.com>