add packages and classes