Dependency structure updated.
.DS_Store added to ignore list.
Improved testability.