added dao layer.
added q as dependency.