Bug fix for IoUtils, refactored some stuff and added more methods for video. Not all of them work yet and have to debug