add compilable train app.