refactor DAL for stylecop
access log refactorign