Localkube

Partially addresses #50
delete dead code.