Added basic routing and rendering and cleaned up the rest.