1. Added license.
2. Complete origination thread refactoring.
TODO: stasis app refactoring.