Initialize maps and channels

reasons:
- nil channels block forever
- accessing nil maps panics