Fix encode/decode locale
Add some dungeon/battle handlers
Add some login handlers
Update DB classes and create script
Update DB classes and add cards handlers