Add engine module as dependency for all modules

Closes #1450