Changed getPosition to getBody instead
Added enums for state