Create DBManager.java

will handle database operations