Moved app script and models into module

Moved api.py and models.py into a new module (crashreports) for
better... umm... modularity