Refactored configuration extension

Updated readme for Rails integration