Move code to /app folder