Refactored backend.php into a class, added some styling for easier reading
Added some javascript to make it easier to read certain things at a time
Fixed up the style some more, fixed logic in card battles