Add clean task to config and register build task