Add DB rebuild task
Rename some fixture tasks
Refactor fixture tasks
Refactor and fix some bugs in core