[wip] Refactored
Updated PHPDoc
Refactored, add find* methods
Renamed app.extensions to extensions
Added InvalidConfiguration exception