Fix module exports for smoothie, tried to export client but has to export itself (request)
Fix relative paths; Add writeencrypted for sending requests; Fix error handling for missing domain ids