contract owned {	// Defines contract Owner
	address public owner;

	// Events
	event TransferOwnership (address indexed _owner, address indexed _newOwner);	// Notifies about the ownership transfer

	// Constrctor function
	function owned() public {
		owner = msg.sender;
	}

	function transferOwnership(address newOwner) onlyOwner public {
		TransferOwnership (owner, newOwner);
		owner = newOwner;
	}
	
	// Modifiers
	modifier onlyOwner {
		require(msg.sender == owner);
		_;
	}
}
function owned() public {
	owner = msg.sender;
}

// Notifies about the ownership transfer
// Constrctor function