Initial implementation of client and basic test