seperate basic reusable component into core, and html pages in to page folder