package refactoring for domain and dao classes