Move api handlers into versioned pkg