done issue #125
work on issue #121
work on issue #121
fixed warnings; done issue #121
improve test for events
done issue #87
done issue #129
done issue #130
improve memory initialization and shutdown
add missed files
work on issue #109
done issue #109
add missed files
done issue #128
agents logging added