Scanning custom extension

The class scanning is now done only if the 'base.package' property
exists in the configuration file
Linked with dandelion/issues#108
Added comments