moving regpub to own folder. fixing references.