Add components and module structure

Named components after planning software architecture. Added standard
file stubs for a Python library.