move common files to common dir