added include
changed API slightly
cosmetic change
client barebones
refactored client
added a TODO