Refactor the api.
Bug fix the interaction tracker.
Updated to VS2012.