Initial commit of compass code