remove defunct "lsinsertion"
add __main__ block to modularize