Gemify the project and convert the directory structure into a Rails engine