phoenix workspace & container generating function finished