updated license and readme
fixed local path source in Gemfile
fixed wait_for_state bug