Updated readme. Renamed functions. Fixes