Created proper entity classes and also created immutables class