Added addAttributes method to Core
Fixed loader class on Core