Initial import of working code
start building some bits for making it installable