finished OOP style of countries database