added gif api and handling
fixed
added caching