New depends module to check dependencies. Moved version check to new depends module.