move common files to another gem