Added database, fixed accordion bug