move lib/ to proto/, centralize gems