initial architecture

with some coding to glue shit together