moving webapp creation out of environment over to webapp module