Moved most app logic into YouGIF class.