SBP File IO (updated)

Based on #39.

Rebased off of current master and added more documentation.

Closes #39