DBManager.cs methods implemented