split examples into separate directories