Updated server routing mechanism.
Implemented ticket creation.