created an object handler that abstract object handling