add api test stuff
add scope to project
refactor projects controller to use scope