small changes in packages, add Exeption class