Start implementing distribution

Add config file for cluster nodes.
Add connection functionality.