some update

1.  auto load the golbal dir
2. mysql class, if connect failed not exit;
3. remove the addCondition function
4. support transaction