Initial ban manager implementation done

Closes #234.