INFRA-111: setting up apache

- replace package declarations by realize() and chaining