refactor: isolated examples from lib