finished moving the calculations to their own django-app