moved bootstrapping to standalone class