add packages and templates