Reorg into proper python package, and a very basic initial test