On hyperplane arrangements, configuration spaces and related topics