clean up
rewrite save method
improve curl handler
improve log handler
add curl timeout options
--amend