added better documentation for server pointer and base name
Moved the base and relay into their own seperate packages.