Refactored some code
Add confgure_and_load! API method