bean file for getting and setting data