Added DBManager to incapsulate connections.
Also reformed DAO to interact with DBManager.
Also wrote several Entity DAO interfaces.