added hibernate validation and some service classes