Implement texture manager
Revert "Implement texture manager"

This reverts commit 596428ce3aae6371fac1bd563d5b9b6c041f7124.