Configuration spaces, braid groups and derived categories