Create TextRecord.java

This is used to create class which describes text record structure