Refactor dirs (again)

Follow-up from: https://github.com/bitpay/bitcore/pull/561
I fixed everything but this because it could be part of another PR fixing the style to conform with the jshint file