store stack application in database
add callback for addInDatabase
check controller package.json for tests
add update-stack function
reverse stack order in update stack
update controller in update stack function
try 5 times to add data-system in database
improve addDatabase function
check err and body.error in addInDatabase
update stack.json before database
improve patch - remove autostart directory