First attempt at master-slave architecture.