re-factored to serve static resources using fanstatic.