move physics stuff to separate file
better message flow stats