Migration to PDO and making a setup page

On an unrelated note, also continuing on this project. Unheard of, I know!