adding 404 and breaking up templating