Fix config usage.
Add posibility to compute config in initialize() method.
Add console output for debugging.
Code refactoring.
Add support to specify which images will be used in computation.
closes #104.