Basic API integration

Forgot all the things that I added...
-Detail view is looking better
-More general tidiness
-Can now upload basic Sparks to the database (completely String based at
the moment due to database restrictions)