update api controllers to use less magic
remove unused instructor repos
remove unused imports