add modules and subjects