preview functionailty working, need to fix coloring
update colors for tiles and preview, refactored