Add classes for datfile processing

Added 3 classes for processing datfiles.