outsource mod server
add spec dir
.gitignore
generalize cursor direction handling