Build related parts for new UI

Also, we should probably read the available tasks from configuration rather than have it hard coded like this.