Revert "kompletni remake, odstraneni zbytecnych trid, instance ulozene v texture"

This reverts commit 10a4048be7667a9285e7571988bf6321c44debd7.
Revert "Revert "kompletni remake, odstraneni zbytecnych trid, instance ulozene v texture""

This reverts commit 29118a260ece2177672f060499a5a90d942896bf.