tp1 archi n-tier