move reusable stuff from Physics.js to MY3 and adjust namespace