made route registration more auto-magic and added footer.