Packages and classes definition