Add basic master, replica, client, and main files