Refactored webapp configuration structure