Big work with cmake for module building