Moved datanode, yarn and hive into a datanode class inside cdh module