changing around organization of code for django