added backbones extend function as a module