seperate example project form main project and fix the following problems