Hibernate implementation improved & adding table for tasks monitoring