added modified datanode and securedatanode classes