Made Tiles structure a bit more robust
Alternative for defaultTile switch
Merge pull request #1 from Boydbueno/master

Some refactoring, making system more robust and readable.