fixed a few issues, resources don't link from http

Fixed some issues with constructor, still not linking most resources to http server. Agent and Description are seen from root but no other resources