added async to pineapple.async nameaspace. model declaration in mongoose now uses namespaces. client created and attached to pineapple.client namespace