adding domain java classes and interfaces