dga.cpp, fitness.cpp
added condition variable for future uses
serialization and deserialization in a better shape