update of package beans and database

Created comments and code review