adding requir class mysql