added activity upload, finished API reference