Seperate out api and admin server files