added terrain and aabb class
fixed compilation errors