Add REST framework. Various config changes.