Refactoring code for a better structure.

Adding class for flickr access.
Adding plothelper.
Moving methods and classes to relevant folders.