Updated to use config. Updated readme