Add bad ownership error to keys spec
Move controllers to dedicated classes