divide into resource, tile, terrain panel

Add terrain classs ....