migrated forked module to new API and seperated add, edit, delete into defined types