Updated client

Add registration function/module for client.