Added class PublicApi which will be the endpoint for a public API