restructured. digital ocean api.

restructured in preparation for future unit test implementations.
created simple Digital Ocean library for consuming the API.