Moved Texture functions to the library

- Moved some Texture functions to the include/ directory.