Add package definitions and build scripts