added texture class using FreeImage library. still needs work.