resturcture project to use app