Bread dough doesn't keep its shape
If your crumb is not open you likely either underproofed, your dough is too dry, or you have not opened the dough up by cutting across the top. There are many very good questions about crumb on this site already so I won't go more into that in detail, instead I'll move onto shaping. 

Bread will spread out and not up unless it's restrained, it's natural for it to do so as it's the path of least resistance. If you want it to prove in a certain shape you need to use a tin or a basket in the shape you want. Bread can be baked in a tin, however if you use a basket you'll need to turn it out onto a sheet before baking.