add basic support for dpk
add uses list generation