Refactor examples project