updated domain and services to work with hibernate
Added repository ddl file