Create basic dao class,configurations