added mekanism compat textures, refactoring