img refactor & home page stubs