Finished API library (minus necessary WinJS calls)