Anas branch

Will now save information to database. Most pages are also implemented, except the results page. Super ugly though, with tons of hacks