Physics lib migrated

Also noticed some unneeded else if in entitymanager, rolled it into an
or