Multifunctional focusing and accelerating of light with a simple flat lens.