Abstracting the public path instead hardcode it within application class