Added BoundaryBox class and implemented into Entity (bi-directionally)