add module snippet

similar to func snippet, but for a "class"