Updates gemspec, moves code into /lib