implemented sam node
implemented sam master setup