reorganized imports and split dataaccess module into 4 sub-modules