add action files
refactoring entity.py save
add two ut to core_test for add entity and get entity
entity.py refactoring save; next: entity_test refactoring