split javapan module into core and services

split javapan module into core and services modules, to conform to
typical mvn convention of one module producing one jar