Refactor bulk upload plus new configuration

* Code refactor
* Library update
* Support for new configuration files