Added new API requests for analysis and interface. fixes #146. fixes #148.