Removed dynamically allocated objects

1. as much as possible.
2. Only two dynamically allocated objects remain.
3. sections and virtual function addresses.