Added file IO, added IV generation from /dev/<some_kind_of_random>, improved commenting, deleted unused includes