Rewrite core database management in Java to properly accomodate annotations. Write wrapper classes to be used in the real application