put persistence class under service