add modules and dependencies