fix bug: spawn_offspring loses it's brain.
add program options. add import.
add export code.