refactored BlockAvoider class name to Avoidance since it handles more than just blocks. Also added javadocs and did cleaning of Avoidance class.