Access class created in core from a module.

Hello, everyone!

I have created a package in core, added some classes and I wish to access them from the adminui-module.
One attempt I used is changing the version of openmrs in adminui-module pom file to <openMRSVersion>2.5.0-SNAPSHOT</openMRSVersion>
This seams to work, but it calls for the need to refactor some method logic and classes.

Is there any other way of accessing those classes in adminui module as above without changing the OpennmrVersion in the module.
Thank you so much.

cc @ibacher @sharif @kdaud @reagan