baaasedata.class refactored.