replaced hibernate XML mapping with annotated classes