Improved bean checks and some bugfix
Added exception codes class