internal prophy raw functions moved to detail namespace
prophy raw internals moved to separate directory and file