Add spin parameter

Also standardize directory location, doxygen style docs, and example.scad as a separate file