Added dependencies and using external underscore library.