renamed apply method to onReady
license header
api clean up
api changes of Config