Restructuration and first try for deployement script