api as a separate blueprint