do not add spaces before the domain names
moves core functions into keychain-core
first version of the server