Packages and SQL tables definitions