refbase initial
initial fixes; import regex fixes; preg /e error fixes