changed init to use this.config in case one isn't passed in
Merge pull request #156 from smazurov/bugfix/default-config-migrate

changed init to use this.config in case one isn't passed in