completed first version of  map texture and add first map
partial bugfix and optinization