Restructured physics system.

Now objects slide like they are suppose to when there is no friction. I
will add the friction next.