IO class added.
license updated to gpl3.