[JENKINS-24617] Added @ExportedBean to several classes.
Make everything compile.
Initial copy of model classes from analysis core.
Added first sketch of a test case.