Created separated modules for core and idm API jars.