Metadata

One minor bug fix, config file readability, plus implementation of metadata IP and port in configuration.