Network bans are modular

Started some work on moving some core parts to a general lib