add new entity and rename ajaxclass