Refactor: schedule
Fixed db _yield
Add created property for task
Removed lang api