Pass site configuration and logger in constructor