Add api and admin to application init