generated generic business and persistence