reworking architecture for multiple object connections
added class for creating multiple object connections
minor changes to main for architecture rework