added DB connection test and makefiles
added DB connection test and makefiles