made detection of package directory more modular
Added screenshots and documentation.