Added DTN flag
Refactor statemachine constants out.