definir app y controller