use static so you can extend and may overwrite the pimcore class.
refactor - extract method
refactor bootstrapping
refactor bootstrapping
reducte code complexity
Merge pull request #76 from timglabisch/refactoring

Refactoring of Pimcore::run