code cleanup
first part of distributed cuckoo script
sort imports
add v1 routes in case we deprecate certain routes
use int type for task-id fields
Revert "sort imports"

This reverts commit aa32764891ecd03f7f6c5a360bad17e5fab595a2.
now task-id fields are integers, handle them correctly
various tweaks
introduce enabled flag for nodes
remove unique flag from node name/url
tasks since, code cleanup, various improvements
code cleanup
small updates
code cleanup
code cleanup
introduce finished field for tasks
status api
code cleanup
commit to the database after updating a node
actually fix errornous tasks