A basic object oriented physics framework for OS X and iOS