base station code added

add base station stuff