Move from plugin to gem