reworked to build with proper bindings per resource with no fetching of external entities on the network
removed unused