Hi Mkristoffersen,
I understand that you have developed some code and there are some issues with it. If this is the case, I recommend you post a new thread in our MSDN forum, it is the specified channel for the development issue. At the same time, you can monitor this thread, the experienced community may share their suggestions here.
In addition, here are some links for Office 365 developers for your reference:
http://msdn.microsoft.com/en-us/library/ie/gg454740.aspx
http://msdn.microsoft.com/en-us/library/ie/gg454742.aspx
http://msdn.microsoft.com/en-us/library/hh147180.aspx
Thanks,
Eben Liu