some cleanup of generator code
simple example implemented, clan asan script added