put blacklist handling into separate module
better formatting
fixed bug in blacklist handling