Refactored Saving

- Separate writers for binary, text, and images, derived from a common
abstract class
- Added example of usage
Added options for reading binary

- Can specify numerical format (e.g. "int", "short", etc.) and use the
corresponding ByteBuffer sub-class
Added Apache License
Added comments