Restricted api and "regular" routes
Added api and public routes
Added management routes
Added API tests and updated for restricted functionality