Finished first Xml version.
Added client connection support.