fix style
add Task model and finish an extension