Renamed components.py to structure.py
Added tests of Structure API