Made reader code into library. Added example
Fixed record_size