refactored fmt, added some mysql stuff
added mysql.dump and mysql.load