Updated tilemap and tileset

Updated some methods of tileset and tilemap, created constructor for
tileset (still to review)