clam package; moved main to example package