Created Factory and factory API objects.
Add basic API. ListeningConnection needs a revamp.