add workflows to service
add workflow in controllers
correct workflow in template
improve workflow export in json