Refactor example project