add generate task, get server task working with new setup