make realspace_grid_types independent from input_constants
make pw-modules almost independent from input