Refactored object loader to throw exceptions and set default values if developer forgets to input value into xml
Fixed conflicts