reorganized structure of instagram module