added bungeelogin.canchat and bungeelogin.usecommands permissions to bypass chat events
restructured utility class
added a db connection function that is untested atm.