clean up to_md5_hash method, move to ApplicationHelper section instead of one method per model class