First pass at obj creation and connection setup.

None of this is tested yet. Just setting up so I
can create an app with it.