made changes to etcd-service: added argument parsing and ability to specify variables from command line, handled possible errors in curl requests, refactoring, etc.