ad almost done, created database class with arraylists