remove run and simplified build, added app/main layer