Changing package hierarchy