Added new entities for statistics and an appropriate ejb bean.