Updated physics parameters.
Some refactoring.
Added a timer implementation.