Moved all server side code to Django.