add maven support and dao file