moving towards SPA
refactored the public directory structure