Some cleanup and fixing of the bont config
Refactored connection to use queuereader