Basic arcitecture with connection refused error.
Basic flow
Minor changes
Refactoring.