Use Tool class to clean up fig and docker calls.