First minimal working system

full data structure, minimal user interface