Created an physicobject and made spriteobject implement that. Needs testing