Mark source of snippet and fix "privateness"
Mark source of snippet and fix "privateness"

I mark types and functions that are intended to be used in other files as public.
works for main.

tormol/AIS,tormol/AIS,tormol/AIS,tormol/AIS