backend: add static files to django
change API to use attributes