Write python code to Build an API versioning system with header-based routing. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready.