Changed keygen to use boost and create files that don't exist