I need to build a library for flash developers. Developer embeds the library to the app. Library authenticates clients using developer's API key and provides an easy way to track events and actions in the code. Library is sending events and actions to the server using REST API. API documentation will be provided.
The code should be fully covered by unit tests.
I need you also to create a documentation and integration tutorial.