implementing physics, WIP
implemented physics, but it's probably semi broken