Simulations of Galaxy Formation and Large Scale Structure: PhD Thesis, Ludwig-Maximilians-Universität München (LMU)