resolves issue #4 by providing ping command before creating the container.
resolves issue #5 by pulling image in case it is not alrady pulled in Docker server.
resolves issue #6 by allowing specify the registry where images are downloaded.
updates documentation and removes unnecessary imports.