added layout, main and address_book files, added connection to database