separating core module for osgi development.