Adding server registration

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>