Refactored Repository.

Updated README with coding style/standards.