Refactor get-images
Only build master
Refactor get-containers
Simplify get-images and get-containers
Refactor up method
Refactor up method
Create get-image test
Create get-container test
Refactor up function
Fix containers array is empty bug
Merge pull request #1 from daiweilu/refactor-up

Refactor up