Moved all api files to their own directory, made login.php
Restructuring, added a new setting.
Made some user interface stuff.
Changed backend to use PDO. Added some user interface.