Finished debug -> nothing more obvious errors
remake endges container form std::map to simple pointer array