Context-Aware Agile Business Process Engine: Foundations and Architecture