fixed image loading, added routing