Changed the whole of case module into a single page app