Reorganize module structure

Now the pcre module is importable.