Crime api

Huge improvements in functionality. Actually viable as an API now.