Fleshed out Node-side framework; still a little weird on client-side stuff