Developer Documentation
Sales Reports is mostly written in SQL and XSL, and uses a sitemap to bind it all together. It runs on Nexista and will presumable run on other similar frameworks.
One of the first things I plan to do is have an XML API for Sales Reports.
I'd also really like to implement LDAP as a source for companies and contacts.