added more binary keyvalue stuff and int extractor