fixed various issues with hibernate mappings, many-to-many associations working now