added optinal metadata structure to REST interface
added a deamon conf