Add main() client

Add main