remove Hadoop code to sub directory