Added methods to the rolodex constructer to populate it with tablenames from the database.
added closeDatabase to the end of methods that open it.