init check in base on spring side
add entities
clean up demo code
update