WIP
Initial working stack.session through compiling an endpoint map.