Added version check for zipfile.
Added zip implementation and added generator/context manager pattern.