Kinda fixed it a little

The gui is broken but the database works