updated messages domain and created dao, service and interface