[IMPROVEMENT] Redesign Server.DataAccess with Repository pattern and UnitTests