Framework for Splice Commands based on factory pattern