move inner_fold_step to details directory
small formatting fixes in module.hpp