Common java modules for ndex-rest and ndex-task