Extract HDInsight code into separate projects