Moved lineByName function
Added type definitions for components, functions, data Added guards for network responses fixes #8