made common loader a prototype of the core api object.