Added slave init and checkin (untested)