bug fix

rename the entity class
change the log format
encoding setting