Refactor kozmic.builds.tasks a bit