added binary io and cleaned folders