Fixed get_vlan_nr
improved custom exceptions, now defined on a dedicated app module (exceptions.py)