Updated config module to accept block, hash, and file input.