reorganizes directory structure to make repo into a gem