added working configuration, apmex has bootstrap function which should be called
added bootstrapped property to apmex, so no bootstrap can be called twice