Save and load tiles.

Signed-off-by: cyberzhg <cyberzhg@gmail.com>