packages first version implemented
minimal implementation of packages