(WIP) add basic snap-based server