make allocation strategy pluggable
make configuration file can be passed from client side