Add database task, initialize start state.