WL#7155: Refactoring of XA implementation and improving XA test coverage

Affects: Server-Prototype Only   —   Status: Complete

Currently the implementation of XA is placed across different files. It makes 
sense to collect all XA-related code under one pair of header/source file.
Also a code coverage should be improved.

User Documentation
==================

No user documentation required.