Deleted instagram.class - there is no need for it anymore.
Moved code from link to generate.class to centralise functionality.