Added full lifecycle source code.