Refactoring of WittlSorting to allow data reload

Moved item inserting to the API
Added dynamic wittl insertion