Pseudo-mode nearly works
Moving code to own repo