added classes for obstacle and tanks