Had to create parser.cpp and dbEngine.cpp to solve circular dependency issue

also had to change the db instantiation in parser to a pointer to solve
circular dependency problems.