using ptr_vector instead of raw pointers
added some event fixes
added physicstest
adapted LibraryMainBase to new event system
adapted Physics library to new event system
solved value copy problems and added test