refactor
added isset of class properties handling
init entity details
init entity details