add possibility to set Term on coreId
Merge pull request #6 from cgendreau/issue5

add possibility to set Term on coreId