Mostly working code

With exception to saveInBackground
This works now (will delete the comment)