Preparing scala tile implementation.

The scala implementation of the "Tile" class will bring
more flexibility in drawing and generating.