move gateway files to its folder