Updating based on feedback.

1. Using homebrew depenencies.
2. Using one-line if conditions
3. Removed redundant comments.