Replace constructor with builder

* Updates based on review comments suggested.
* DMap inner class renamed to Builder. Tests and Benchmark updated.
* Incorporated other comments.