move prototypes into django app